.w {
    width: 1200px;
    margin: 0 auto;
}
/* 首页导航栏 */
.nav {
    height: 45px;
    border-bottom: 2px solid #b1191a;
}
.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
    cursor: pointer;
}
.nav .navitems {
    float: left;
}
.nav .navitems a {
    font-size: 16px;
    height: 45px;
    line-height: 45px;
    padding-left: 30px;
}
.nav .navitems a:hover {
    color: #b1191a;
}
.dropdown .dt {
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: white;
    text-align: center;
    line-height: 45px;
}
.dropdown .dd {
    position: relative;
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color: #c81623;
}
.dropdown .dd ul {
    padding: 5px 0;
}
.dropdown .dd li {
    position: relative;
    height: 35px;
    line-height: 35px;
    margin-left: 2px;
    padding-left: 10px;
}
.dropdown .dd li:hover {
    background-color: white;
}
.dropdown .dd li::before {
    position: absolute;
    top: 1px;
    right: 10px;
    color: white;
}
.dropdown .dd li a {
    color: white;
}
.dropdown .dd li:hover a,
.dropdown .dd li:hover::before{
    color: #c81623;
}
.dropdown:hover .dd {
    display: block;
}
/* 和伪元素效果一样 
.more { 
    display: none;
    position: absolute;
    top: 0;
    left: 210px;
    height: 200px;
    width: 600px;
    background-color: #c81623;
    color: white;
    font-size: 50px;
    line-height: 200px;
    text-align: center;
}
.dropdown li:hover .more {
    display: block;
} */

/* 用伪元素+属性选择器做不同的展开效果 */
/* .dropdown .dd li::after {
    content: "黄鹤跟他小姨子跑路了";
    display: none;
    position: absolute;
    top: 0;
    left: 210px;
    height: 200px;
    width: 600px;
    background-color: #c81623;
    color: white;
    font-size: 50px;
    line-height: 200px;
    text-align: center;
}
.dropdown .dd li:nth-child(n+5)::after {
    content: "倒闭了 倒闭了 倒闭了";
}
.dropdown .dd li:nth-child(n+8)::after {
    content: "跑路了 跑路了 跑路了";
}
.dropdown .dd li:hover::after {
    display: block;
} */

/* 不用显示模式,直接创建 */
.dropdown .dd li:hover::after {
    content: "黄鹤跟他小姨子跑路了";
    position: absolute;
    top: 0;
    left: 210px;
    height: 200px;
    width: 600px;
    background-color: #c81623;
    color: white;
    font-size: 50px;
    line-height: 200px;
    text-align: center;
    z-index: 1 ;
}
.dropdown .dd li:nth-child(n+5):hover::after {
    content: "倒闭了 倒闭了 倒闭了";
}
.dropdown .dd li:nth-child(n+8):hover::after {
    content: "跑路了 跑路了 跑路了";
}

/* <!-- 首页专有模块 strat --> */
.main {
    width: 980px;
    height: 455px;
    margin: 10px 0;    
    margin-left: 220px;
}
.focus {
    position: relative;
    float: left;
    width: 721px;
    height: 455px;
}
.focus::before {
    content: "<";
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -25px;
    width: 40px;
    height: 50px;
    font-size: 35px;
    line-height: 50px;
    text-align: center;
    color: white;
    border-radius: 0 50% 50% 0;
    background-color: rgba( 0, 0, 0, .5);
    cursor: pointer;
}
.focus::after {
    content: ">";
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -25px;
    width: 40px;
    height: 50px;
    font-size: 35px;
    line-height: 50px;
    text-align: center;
    color: white;
    border-radius:  50% 0 0 50%;
    background-color: rgba( 0, 0, 0, .5);
    cursor: pointer;
}
.focus_b {
    position: absolute;
    left: 50%;
    margin-left: -24px;
    bottom: 20px;
    height: 10px;
    width: 48px;
    border-radius: 5px;
    background-color: rgba( 0, 0, 0, .8);
}
.focus_b li {
    float: left;
    height: 8px;
    width: 8px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba( 255, 255, 255, .6);;
    margin: 1px 2px;
    cursor: pointer;
}
.focus_b li:first-child {
    background-color: white;
}
.newsflash {
    float: right;
    width: 250px;
    height: 455px;
}
.news {
    height: 165px;
    border: 1px solid #e4e4e4;
}
.news_hd {
    height: 33px;
    line-height: 33px;
    border-bottom: 1px dotted #e4e4e4;
    padding:  0 15px;
}
.news_hd h5 {
    float: left;
    font-size: 14px;
}
.news_hd .more {
    float: right;
    height: 33px;
}
.news_bd {
    padding: 0 15px;
    padding-top: 5px;
    line-height: 24px;
}
.news_bd ul li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news_bd ul li strong {
    margin-right: 5px;
}
.lifeservice {
    height: 209px;
    border-left: 1px solid #e4e4e4;
}
.lifeservice ul li {
    position: relative;
    float: left;
    height: 70px;
    width: 25%;
    text-align: center;
    border-right: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
    overflow: hidden;
}
.lifeservice ul li span {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 12px;
    color: white;
    line-height: 16px;
    height: 16px;
    width: 16px;
    background-color: green;
}
.lifeservice ul li span p {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 4px 8px 0 0;
    border-color: green transparent transparent transparent;
}
.lifeservice ul li span h5 {
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 8px 4px 0;
    border-color: transparent green transparent transparent;
}
.lifeservice ul li i {
    display: inline-block;
    margin-top: 12px;
    height: 25px;
    width: 23px;
    background: url(../images/icons.png) no-repeat -19px -16px;
}
.bargain {
    margin-top: 5px;
}
.lifeservice ul li:nth-child(2) i {
    background: url(../images/icons.png) no-repeat -80px -16px;
}
.lifeservice ul li:nth-child(3) i {
    background: url(../images/icons.png) no-repeat -142px -16px;
}
.lifeservice ul li:nth-child(4) i {
    background: url(../images/icons.png) no-repeat -206px -16px;
}
.lifeservice ul li:nth-child(5) i {
    background: url(../images/icons.png) no-repeat -19px -90px;
}
.lifeservice ul li:nth-child(6) i {
    background: url(../images/icons.png) no-repeat -80px -88px;
}
.lifeservice ul li:nth-child(7) i {
    background: url(../images/icons.png) no-repeat -143px -88px;
}
.lifeservice ul li:nth-child(8) i {
    background: url(../images/icons.png) no-repeat -209px -88px;
}
.lifeservice ul li:nth-child(9) i {
    background: url(../images/icons.png) no-repeat -17px -160px;
}
/* <!-- 首页专有模块 end --> */
/* <!-- 推荐模块 start --> */
.recom {
    height: 163px;
    margin-top: 13px;
    background-color: #ebebeb;
}
.recom .recom_hd {
    float: left;
    height: 163px;
    width: 205px;
    background-color: #5c5251;
    text-align: center;
    padding-top: 25px;
}
.recom .recom_bd {
    float: left;
}
.recom .recom_bd ul li {
    position: relative;
    float: left;
}
.recom .recom_bd ul li img {
    width: 205;
    height: 163;
}
.recom .recom_bd ul li:nth-child(-n+3):after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    height: 143px;
    width: 1px;
    background-color: #ddd;
}
/* <!-- 推荐模块 end --> */
/* 家用电器 start*/
.floor .w {
    margin-top: 30px;
}
.box_hd {
    height: 30px;
    border-bottom: 2px solid #c81623;
}
.box_hd h3 {
    float: left;
    font-size: 18px;
    font-weight: 400;
    color: #c81623;
}
.tab_list {
    float: right;
    line-height: 30px;
}
.tab_list ul li {
    float: left;
}
.tab_list ul li a {
    padding: 0 15px;
    border-right: 1px solid #e4e4e4;
}
.tab_list ul li:last-child a {
    border-right: none;
}
.box_bd {
    height: 361px;
}
.tab_list_item>div {
    float: left;
}
.col_210 {
    width: 210px;
    height: 361px;
    background-color: #f9f9f9;
    text-align: center;
}
.col_210 ul {
    padding-left: 12px;
}
.col_210>a {
    display: inline-block;
    margin-top: 10px ;
}
.col_210 li {
    float: left;
    width: 85px;
    height: 34px;
    border-bottom: 1px solid #ccc;
    line-height: 34px;
    margin-right: 10px;
}
.col_329 {
    width: 329px;
}
.col_221 {
    width: 221px;
    border-right: 1px solid #ccc;
}
.col_219 {
    width: 219px;
}
.bb {
    display: block;
    border-bottom: 1px solid #ccc;
}

